package com.keshe.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 *
 *
 * @author yefansijia
 * @email 1121207699@qq.com
 * @date 2023-01-02 13:31:39
 */
@Data
@TableName("mms_address")
public class AddressEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;
	/**
	 *
	 */
	private Integer userId;
	/**
	 *
	 */
	private String name;
	/**
	 *
	 */
	private String mobile;
	/**
	 *
	 */
	private String province;
	/**
	 *
	 */
	private String city;
	/**
	 *
	 */
	private String district;
	/**
	 *
	 */
	private String addr;
	/**
	 *
	 */
	private String zip;
	/**
	 *
	 */
	@TableLogic
	private String isDeleted;
	/**
	 *
	 */
	private Boolean isDefault;
	/**
	 *
	 */
	@JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date created;
	/**
	 *
	 */
	@JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date updated;

}
